package com.aaa.Service.Impl;

import com.aaa.Dao.UserDao;
import com.aaa.Entity.User;
import com.aaa.Service.UserService;
import com.aaa.util.DefaultMsg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;


    public User findUAndP(User user) {
       return userDao.findUAndP(user);
    }
}
